
class CFrameGrinder
{
public:
    CFrameGrinder();
    ~CFrameGrinder();

    void lookForTarget();
    void compress();

    cv::Mat m_frame;

    std::vector<uchar> m_outbuf;
    std::vector<int> m_params;

    std::string m_targetCoordinateText;

protected:
    IplImage* m_gray;
    int m_thresh;
    CvMemStorage* m_storage;
};